﻿using System;

namespace Eneta.Portal.Forum.Core.Domain.Entities
{
    public class Message : DomainObject
    {
        // Fields

        // Methods
        private Message()
        {
        }

        public Message(int topicId)
        {
            TopicId = topicId;
        }

        // Properties
        public ForumUser Author { get; set; }
        public string Body { get; set; }
        public DateTime Created { get; set; }
        public DateTime Modified { get; set; }
        public int TopicId { get; set; }
        public int ForumId { get; set; }
        public int UserId { get; set; }
    }
}
